compas-analysis | Data and analysis for 'Machine Bias

 by   propublica Jupyter Notebook Version: Current License: No License

kandi X-RAY | compas-analysis Summary

kandi X-RAY | compas-analysis Summary

compas-analysis is a Jupyter Notebook library. compas-analysis has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

Didn't Reoffend ||| Reoffended | | | +---------+. This repository contains a Jupyter notebook and data for the ProPublica story "Machine Bias.". Notebook (you'll probably want to follow along in the methodology): Main Dataset: compas.db - a sqlite3 database containing criminal history, jail and prison time, demographics and COMPAS risk scores for defendants from Broward County. Other files as needed for the analysis.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              compas-analysis has a low active ecosystem.
              It has 467 star(s) with 197 fork(s). There are 44 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              compas-analysis has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of compas-analysis is current.

            kandi-Quality Quality

              compas-analysis has 0 bugs and 0 code smells.

            kandi-Security Security

              compas-analysis has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              compas-analysis code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              compas-analysis does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              compas-analysis releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.
              It has 179 lines of code, 33 functions and 1 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of compas-analysis
            Get all kandi verified functions for this library.

            compas-analysis Key Features

            No Key Features are available at this moment for compas-analysis.

            compas-analysis Examples and Code Snippets

            No Code Snippets are available at this moment for compas-analysis.

            Community Discussions

            QUESTION

            Dataframe doesn't show all columns
            Asked 2021-Mar-29 at 20:22

            I am working in Python with the compas-scores dataset of 47 columns and 11757 rows (https://github.com/propublica/compas-analysis).

            I've noticed that when I am calling the dataset, it doesn't shows me all the columns. Instead I have a column in the middle with three dots [...] (see the example in the screenshot). The import statement of pandas was: import pandas as pd

            Is there a way to show all the 47 columns?

            compas-score screenshot

            I would apreciate your help.

            SOLUTION:

            I had to maximize all the columns adding one piece of code. This solution has worked for me:

            pd.options.display.max_columns = None

            ...

            ANSWER

            Answered 2021-Mar-29 at 19:56

            assuming your import statement is import pandas as pd

            I'd suggest trying one of the below:

            Source https://stackoverflow.com/questions/66860702

            QUESTION

            Trying to predict the probability of a binary variable being equal to 1 using tidymodels
            Asked 2020-Dec-09 at 17:35

            I am trying to predict the probability of two_year_recid by estimating a logit regression (with no penalty) that includes a flexible list of controls excluding decile_score and race_factor, but I keep getting an error saying

            ...

            ANSWER

            Answered 2020-Dec-09 at 17:35

            When you added the step step_dummy(all_nominal()), that selected your outcome two_year_recid and turned it into a dummy variable, because it is a nominal variable. Be sure to say you do not want to select it, either by adding it explicitly via -two_year_recid or by using -all_outcomes(). Then your model will fit and predict:

            Source https://stackoverflow.com/questions/65180483

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install compas-analysis

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/propublica/compas-analysis.git

          • CLI

            gh repo clone propublica/compas-analysis

          • sshUrl

            git@github.com:propublica/compas-analysis.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link